//引入mysql模块
const mysql=require('mysql')
//创建连接池对象
const pool=mysql.createPool({
	host:'127.0.0.1',
	post:3306,
	user:'root',
	password:'',
	database:'petsdb',
	connectionLimit:15,
	multipleStatements:true,
	charset: 'utf8'      //数据库服务器的编码方式
})
module.exports=pool